package com.cc.service;

import com.cc.entity.Emp;
import com.cc.util.Page;

public interface EmpService {
    //分页查询
    public Page<Emp> getEmp(Page<Emp> empPage, String empName);
    //添加
    public boolean addEmp(Emp emp);
    //删除
    public boolean deleteEmp(int id);
    //修改
    public boolean updateEmp(Emp emp);
    public Emp getEmpById(int id);

    boolean edit(Emp emp);
}
